From: Sebastian Keller Date: Thu, 28 Nov 2019 13:06:12 +0000 (+0100) Subject: extensionDownloader: Use uuid lookup method in checkForUpdates() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~150 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b4ed8a3d06e9d51fcda8c4b0450cbf7422e01161;p=gnome-shell.git extensionDownloader: Use uuid lookup method in checkForUpdates() The extensions variable the code was trying to access was made private and turned into a map some time ago. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1958 --- diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index e261573ab..466172528 100644 --- a/js/ui/extensionDownloader.js +++ b/js/ui/extensionDownloader.js @@ -154,7 +154,7 @@ function updateExtension(uuid) { function checkForUpdates() { let metadatas = {}; Main.extensionManager.getUuids().forEach(uuid => { - metadatas[uuid] = Main.extensionManager.extensions[uuid].metadata; + metadatas[uuid] = Main.extensionManager.lookup(uuid).metadata; }); let params = { shell_version: Config.PACKAGE_VERSION,